<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>${param.pageTitle }</title>
		<jsp:include page="../../../inc/css.jsp"></jsp:include>
		<jsp:include page="../../../inc/js.jsp"></jsp:include>
		<jsp:include page="../../../inc/xheditor.jsp"></jsp:include>
		<script type="text/javascript">
	$(function() {
		$("#modify").button().click(function() {
			location.href = "newsForm.do?id=${o.id }";
		});
	});
</script>
	</head>
	<body>
		<jsp:include page="../../../head.jsp"></jsp:include>
		<div class="container">
			<div class="header"></div>
			<div class="mainContent">
				<div class="content">
					<div id="news">
						<div id="news_tool">
							<button id="modify">
								编辑
							</button>
						</div>
						<h1 class="news_title">
							${o.title }
						</h1>
						<div class="news_date">
							<fmt:formatDate value="${o.createTime}"
								pattern="yyyy年MM月dd日 hh:mm:ss" />
						</div>
						<div class="news_content">
							${o.content }
						</div>
						<jsp:include page="../msg/msgReply.jsp">
							<jsp:param value="j_news" name="tableName" />
							<jsp:param value="${o.id}" name="pid" />
						</jsp:include>
					</div>
				</div>
				<div class="sidebar"><jsp:include page="../../../advRight.jsp"></jsp:include></div>
			</div>
			<div class="footer"><jsp:include page="../../../foot.jsp"></jsp:include></div>
		</div>
	</body>
</html>